**PYTHON CODE TO GENERATE THE DARPA SUBOFF GEOMETRY

** FAIRWATER **

The model is in ft. with a scale 1/24

Can be converted to meters

INCLUDED ARE:

SAIL FOREBODY EQ. for 3.032986 FT < X < 3.358507 FT,
0.833333 FT < Z < 1.507813 FT

#

SAIL MID-BODY EQ. for 3.358507 FT < X < 3.559028 FT,
0.833333 FT < Z < 1.507813 FT

#

SAIL AFTERBODY EQ. for 3.559028 FT < X < 4.241319 FT
0.833333 FT < Z < 1.507813 FT

#

SAIL AFTERBODY CAP EQ. for 3.032986 FT < X < 4.241319 FT.
1.507813 FT < Z < 1.562501 FT

In [5]:
%pylab inline
import pylab as pl
import numpy as np 
import matplotlib.pyplot as plt
import math


#***************************************************************************
#                         CREATE THE SAIL FOREBODY EQUATION
#***************************************************************************

LE = np.zeros(shape=(3,3))
print LE


Populating the interactive namespace from numpy and matplotlib
[[ 0.  0.  0.]
 [ 0.  0.  0.]
 [ 0.  0.  0.]]

In [ ]: